home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / linuxdoc-sgml-1.1 / sgmls-1.1 / dos.cfg < prev    next >
Encoding:
Text File  |  1995-05-03  |  3.1 KB  |  96 lines

  1. /* dos.cfg: Configuration file for sgmls on MS-DOS. */
  2.  
  3. /* Define this if your compiler supports prototypes. */
  4. #define USE_PROTOTYPES 1
  5.  
  6. /* Define this if you do not have strerror(). */
  7. /* Borland C++ has strerror(), but it adds a newline to the end of the
  8. message, so don't use it. */
  9. #define STRERROR_MISSING 1
  10.  
  11. /* Define this if you have getopt(). */
  12. /* #define HAVE_GETOPT 1 */
  13.  
  14. #ifndef HAVE_GETOPT
  15. /* #define OPTION_CHAR '/' */
  16. /* Use MS-DOS (undocumented) system call to get switch character. */
  17. #define SWITCHAR 1
  18. #define REORDER_ARGS 1
  19. /* #define CASE_INSENSITIVE_OPTIONS 1 */
  20. #endif
  21.  
  22. /* A list of filename templates to use for searching for external entities.
  23. See sgmls.man for details. */
  24. #define DEFAULT_PATH "C:\\SGML\\%N.%X;%N.%X;%N.%D"
  25. /* The character that separates the filenames templates. */
  26. #define PATH_FILE_SEP ';'
  27. /* The character that separates filenames in a system identifier.
  28. Usually the same as PATH_FILE_SEP. */
  29. #define SYSID_FILE_SEP ';'
  30. /* The environment variable that contains the list of filename templates. */
  31. #define PATH_ENV_VAR "SGML_PATH"
  32.  
  33. /* Define this if open() understands the O_NOINHERIT flag.  This tells
  34. DOS that subprocesses should not inherit the file descriptor. */
  35. #define HAVE_O_NOINHERIT 1
  36.  
  37. /* When turning a minimum literal into a filename, each character in
  38. MIN_DAT_SUBS_FROM will be replaced by the character at the
  39. corresponding position in MIN_DATA_SUBS_TO.  If there is no such
  40. character, then the character will be stripped. */
  41.  
  42. #define MIN_DAT_SUBS_FROM " +,./:=?"
  43. #define MIN_DAT_SUBS_TO   ""
  44.  
  45. /* Define this if you have access(). */
  46. #define HAVE_ACCESS 1
  47.  
  48. /* Define this if you have <unistd.h>. */
  49. /* #define HAVE_UNISTD_H 1 */
  50.  
  51. /* Define this if you have a Unix-style <sys/stat.h>. */
  52. #define HAVE_SYS_STAT_H 1
  53.  
  54. /* Define this to strip an extension off the program name in argv[0],
  55.    before using it in error messsages. */
  56. #define PROG_STRIP_EXTENSION 1
  57.  
  58. /* Define this to fold the program name in argv[0] to lower case,
  59.    before using it in error messsages. */
  60. #define PROG_FOLD 1
  61.  
  62. /* Before using argv[0] in error messages, strip off everything up to and
  63. including the last character in prog that occurs in PROG_PREFIX. */
  64. #define PROG_PREFIX "\\/:"
  65.  
  66. /* Define this to allow tracing. */
  67. /* #define TRACE 1 */
  68.  
  69. /* Define this you want support for subdocuments.  This is implemented
  70. using features that are not part of Standard C. */
  71. #define SUPPORT_SUBDOC 1
  72.  
  73. /* Define this if your shell does not allow you conveniently to
  74. redirect errors to a file.  Then sgmls will provide an option (-f)
  75. that does this. */
  76. #define CANT_REDIRECT_STDERR 1
  77.  
  78. typedef void *UNIV;           /* Universal (i.e., undefined) pointer type. */
  79. typedef void VOID;            /* void as a function return type */
  80.  
  81. /* If you don't have <limits.h>, define CHAR_SIGNED as 1 or 0
  82. according to whether the `char' type is signed. */
  83. /* #define CHAR_SIGNED 1 */
  84. /* #define CHAR_SIGNED 0 */
  85. #ifndef CHAR_SIGNED
  86. #include <limits.h>
  87. #if CHAR_MIN < 0
  88. #define CHAR_SIGNED 1
  89. #else
  90. #define CHAR_SIGNED 0
  91. #endif
  92. #endif /* not CHAR_SIGNED */
  93.  
  94. /* Assume the system character set is ISO Latin-1. */
  95. #include "latin1.h"
  96.